package com.ling.pl.autoproject.definition.logic.model;

import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

/**
 * 实体业务定义,需要开发人员实现,可以绑定到实体行为
 */
public class EntityLogicParam {
    //实体行为信息
    @Column(name = "LOGIC_ID", length = 36)
    @ModelProperty(comment = "实体id")
    String logicId;

    @Column(name = "NAME", length = 150)
    @ModelProperty(comment = "中文名称")
    String name;

    @Column(name = "CODE", length = 150)
    @ModelProperty(comment = "方法名称", des = "命名需要符合java方法名称规范和事物命名规范")
    String code;

    @Column(name = "PARAM_TYPE", length = 36)
    @ModelProperty(comment = "参数类型")
    String paramType;

    @Column(name = "PARAM_ENTITY_ID", length = 500)
    @ModelProperty(comment = "参数类型为实体时的实体id")
    String paramEntityId;

}
